using MediatR;
using B.S.RbacData.ErrorCode;
using SupplierCustomerManagement.Read.API.Dtos;

namespace SupplierCustomerManagement.Read.API.Applications.Commands.attachments
{
    /// <summary>
    /// 获取附件列表查询命令
    /// </summary>
    public class GetAttachmentsQuery : IRequest<ApiPaging<AttachmentListDto>>
    {
        /// <summary>
        /// 页码（从1开始）
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 每页大小
        /// </summary>
        public int PageSize { get; set; } = 10;

        /// <summary>
        /// 关联实体ID
        /// </summary>
        public int? RelatedEntityId { get; set; }

        /// <summary>
        /// 关联实体类型
        /// </summary>
        public string? RelatedEntityType { get; set; }

    }
} 